<?php 
include_once(''.P.'/public/headerwe.html');
?>
<link rel="stylesheet" type="text/css" href="res/fontawesome/css/font-awesome.min.css">
<script type="text/javascript" src="webmain/we/index/tpl_index.js?<?=time()?>"></script>

</head>
<script>
ismobile = 1;
</script>
<body scroll="no" style="overflow:hidden">
<?php if($showheader==1){?>
<div id="header" class="headerbottom">
	<div id="header_show" style="padding-top:0px" class="r-header">
		<div class="r-header-text" id="header_title">首页</div>
	</div>
	<div id="header_line" style="height:50px;overflow:hidden"></div>
</div>
<?php }?>

<div id="mainbody" class="r-touch" style="height:350px;position:relative">
	<div align="center" id="indexload" style="margin-top:50px"><i style="height:40px;width:40px" class="weui-loading"></i></div>
	<div style="display:none"  id="m_index0">
		<div class="weui-cells__title">最新文件</div>
		<div class="weui-cells" id="newfilediv">
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<p><img src="images/logo.png" align="absmiddle" height="30px">&nbsp;职位</p>
				</div>
			</div>
		</div>
	</div>
	<div style="display:none"  id="m_index3">
		<div class="weui-cells" style="margin-top:15px">
			<div class="weui-cell weui-cell_access">
				<div class="weui-cell__hd"  style="position: relative;margin-right: 10px;">
					<img src="<?=$adminrs['face']?>" class="r-face" id="myface"  style="width:60px;display: block;height:60px"/>
				</div>
				<div class="weui-cell__bd"  clickevt="openzjx">
					<p id="myshow_name"><?=$adminrs['name']?></p>
					<p id="myshow_deptname" style="font-size: 13px;color: #888888;margin-top:5px;"><?=$adminrs['deptname']?></p>
				</div>
				<div style="color:#aaaaaa;font-size:20px"><i class="icon-angle-right"></i></div>
			</div>
		</div>
		<div class="weui-cells__title">个人信息</div>
		<div class="weui-cells">
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<p>职位</p>
				</div>
				<div style="color: #888888;" id="myshow_ranking"><?=$adminrs['ranking']?></div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<p>我手机号</p>
				</div>
				<div id="myshow_mobile" style="color: #888888;"><?=$xhrock->getxings($adminrs['mobile'])?></div>
			</div>
			<div class="weui-cell">
				<div class="weui-cell__bd">
					用户名
				</div>
				<div style="color: #888888;" id="myshow_user"><?=$adminrs['user']?></div>
			</div>
		</div>
		<div class="weui-cells__title">关于</div>
		<div class="weui-cells">
			<div class="weui-cell weui-cell_access" clickevt="editpass">
				<div class="weui-cell__bd">
					修改密码
				</div>
				<div style="color:#aaaaaa;font-size:20px"><i class="icon-angle-right"></i></div>
			</div>
			
		</div>
		
		<div style="height:20px"></div>
		<a class="weui-btn_cell weui-btn_cell-warn" type="button" onclick="xcy.loginout()">退出登录</a>
		<div style="height:15px"></div>
		
	</div>
</div>


<div class="weui-tabbar" id="footerdivss" style="position:fixed;width:100%;bottom:0px;z-index:50;height:65px;overflow:hidden">
	<div onclick="return xcy.changetab(0)" id="tabzhu0" class="weui-tabbar__item weui-bar__item_on">
		<span style="display: inline-block;position: relative;">
			<div class="weui-tabbar__icon"><i class="icon-home"></i></div>
		</span>
		<p class="weui-tabbar__label" style="font-size:14px">首页</p>
	</div>
	<div onclick="return xcy.changetab(1)" id="tabzhu1" class="weui-tabbar__item">
		<span style="display: inline-block;position: relative;">
			<div class="weui-tabbar__icon"><i class="icon-folder-close-alt"></i></div>	
		</span>
		<p class="weui-tabbar__label" style="font-size:14px">文件管理</p>
	</div>
	<div onclick="return xcy.changetab(3)" id="tabzhu3" class="weui-tabbar__item">
		<div class="weui-tabbar__icon"><i class="icon-user"></i></div>
		<p class="weui-tabbar__label" style="font-size:14px"><?=$adminrs['name']?></p>
	</div>
</div>

<script type="text/javascript" src="res/js/jquery-rockdoupull.js"></script>
<?php 
echo $xhrock->filejsbase();
?>
</body>
</html>